#include <iostream>
#include <fstream>
using namespace std;
int main()
{
    
   int temp;
   ifstream ifile("duijiang.txt");
   int duijiang[19];
   for(int i = 0; i<9; i++)
       ifile >>temp >> duijiang[i]>>temp>>duijiang[10+i];
   ifile >> temp>> duijiang[9];
   for(int i = 0; i<19; i++)
       cout<<duijiang[i]<<",";
   cout<<endl;
}